package com.aixin.project.util;

import java.io.Serializable;
import java.util.List;

public class Pagenation implements Serializable{
	private boolean hasprev;

	private boolean hasnext;

	private int pagenum;

	private int currentpage;

	private List data;
	
	private int totalpage;

	public int getCurrentpage() {
		return currentpage;
	}

	public void setCurrentpage(int currentpage) {
		this.currentpage = currentpage;
	}

	public List getData() {
		return data;
	}

	public void setData(List data) {
		this.data = data;
	}

	public boolean isHasnext() {
		return hasnext;
	}

	public void setHasnext(boolean hasnext) {
		this.hasnext = hasnext;
	}

	public boolean isHasprev() {
		return hasprev;
	}

	public void setHasprev(boolean hasprev) {
		this.hasprev = hasprev;
	}

	public int getPagenum() {
		return pagenum;
	}

	public void setPagenum(int pagenum) {
		this.pagenum = pagenum;
	}

	public int getTotalpage() {
		return totalpage;
	}

	public void setTotalpage(int totalpage) {
		this.totalpage = totalpage;
	}
}
